class ArrayExceptionTest2 {
	public static void main(String args[]) {
		int i, a[];
		a = new int[2];
		i = a[2];
		i = a[-1];
	}
}